package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author hyl
 * @since 2022-08-28
 */

public class Auth implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "auth_id", type = IdType.AUTO)
    private Integer authId;

    private String authName;

    private String authCode;

    private Integer authPid;

    private String authStatus;

    private List<Auth> subAuth;

    public List<Auth> getSubAuth() {
        return subAuth;
    }

    public void setSubAuth(List<Auth> subAuth) {
        this.subAuth = subAuth;
    }

    public Integer getAuthId() {
        return authId;
    }

    public void setAuthId(Integer authId) {
        this.authId = authId;
    }
    public String getAuthName() {
        return authName;
    }

    public void setAuthName(String authName) {
        this.authName = authName;
    }
    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }
    public Integer getAuthPid() {
        return authPid;
    }

    public void setAuthPid(Integer authPid) {
        this.authPid = authPid;
    }
    public String getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(String authStatus) {
        this.authStatus = authStatus;
    }

    @Override
    public String toString() {
        return "Auth{" +
                "authId=" + authId +
                ", authName='" + authName + '\'' +
                ", authCode='" + authCode + '\'' +
                ", authPid=" + authPid +
                ", authStatus='" + authStatus + '\'' +
                ", subAuth=" + subAuth +
                '}';
    }
}
